package com.xuecheng.content.controller;

//@Slf4j
//@RestController
//@RequestMapping("/course")
//@RequiredArgsConstructor
public class testController {
//    private final ContentMapper contentMapper;

  /*  @GetMapping("/test")
    public List<CourseBase> test() {
        System.out.println("请求进来了");
        // 1. 创建查询条件（id <= 20）
        QueryWrapper<CourseBase> queryWrapper = Wrappers.query();
        queryWrapper.le("id", 20);  // le表示 <=

        // 2. 执行查询（移除了LIMIT 10）
        List<CourseBase> courseBaseList = contentMapper.selectList(queryWrapper);
        log.error("查询结果：{}", courseBaseList);

        System.out.println(courseBaseList);
        return courseBaseList;
    }*/



}
